WatchedItemStore: Remove deprecated Title param to getNextRevision()
[lhc/web/wiklou.git] / tests / phpunit / includes / watcheditem / WatchedItemStoreUnitTest.php
index 82308de..7ec2d37 100644 (file)
@@ -2094,9 +2094,8 @@ class WatchedItemStoreUnitTest extends MediaWikiTestCase {
                                return $mockRevisionRecord;
                        },
                        'getNextRevision' =>
-                       function ( $oldRev, $titleArg ) use ( $mockRevisionRecord, $title ) {
+                       function ( $oldRev ) use ( $mockRevisionRecord ) {
                                $this->assertSame( $mockRevisionRecord, $oldRev );
-                               $this->assertSame( $title, $titleArg );
                                return false;
                        },
                ], [